package com.frank.oj.service.admin.rejudge;

import com.frank.model.entity.judge.Judge;
import com.frank.oj.common.result.CommonResult;

/**
 * @author frank
 * @Date 2024/4/19
 */
public interface RejudgeService {
    CommonResult<Judge> rejudge(Long submitId);

    CommonResult<Void> rejudgeContestProblem(Long cid, Long pid);

    CommonResult<Judge> manualJudge(Long submitId, Integer status, Integer score);

    CommonResult<Judge> cancelJudge(Long submitId);
}
